/**
 * 
 */
package com.yidu.drug.service;

import java.util.List;
import java.util.Map;
import com.yidu.drug.model.ReturnsDetailModel;

/**
 * 类的描述
 * @author yuanqing
 * @date 2018年8月9日下午3:42:47
 * @version 1.0
 */

public interface ReturnsDetailService {
	int deleteByPrimaryKey(String rdId);

    int insert(ReturnsDetailModel record);

    int insertSelective(ReturnsDetailModel record);
    int save(ReturnsDetailModel returnsDetail);
    ReturnsDetailModel selectByPrimaryKey(String rdId);
    
    List<ReturnsDetailModel> selectByReId(String reId);
    int updateByPrimaryKeySelective(ReturnsDetailModel record);

    int updateByPrimaryKey(ReturnsDetailModel record);
    	
    int findTotalRows(ReturnsDetailModel record);
    
    List<ReturnsDetailModel> findAllPage(Map<String,String> paramMap);
    
    List<ReturnsDetailModel> findLoginRows(ReturnsDetailModel t);

}
